/* My JPEG codec implementation
 * for Coursera image processing class (https://class.coursera.org/images-2012-001/)
 * Vasiliy Sabadazh <vsabadazh@gmail.com>
 */

#include <QApplication>
#include "mainwindow.h"
#include "qtjpegwrapper.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    QtJpegWrapper jpeg;
    QObject::connect(&w, SIGNAL(signal_processImage(QString)), &jpeg, SLOT(slot_processFile(QString)));

    w.show();
    

    return a.exec();
}
